﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Mobile_share : System.Web.UI.Page
{

    protected string memID = "0";
    protected string SymbolTitle = "0";
    protected string SymbolDesc = "0";

    protected void Page_Load(object sender, EventArgs e)
    {
        HttpCookie wxMem = base.Request.Cookies["uid"];
        if (wxMem != null)
        {
            if (Regex.IsMatch(wxMem.Value, @"^\d+$"))
            {
                this.memID = wxMem.Value;
            }
            int id = Convert.ToInt32(base.Request["id"] ?? "0");
            if (id != 0)
            {
                Chain.BLL.SymbolShow Mem_share_setBll = new Chain.BLL.SymbolShow();
                DataSet ds = Mem_share_setBll.GetList(" SymbolID=" + id);
                SymbolTitle = ds.Tables[0].Rows[0]["SymbolTitle"].ToString();
                SymbolDesc = ds.Tables[0].Rows[0]["SymbolDesc"].ToString();
            }
        }
        else
        {
            base.Response.Redirect("login.aspx");
        }
    }
}